toggle menu
Konsist 0.17.0
jvm
switch theme
search in API
Konsist 0.17.0
/
com.lemonappdev.konsist.api.ext.comparable
Package-level
declarations
Functions
Functions
is
Sorted
By
Link copied to clipboard
fun
<
T
,
R
:
Comparable
<
R
>
>
List
<
T
>
.
isSortedBy
(
selector
:
(
T
)
->
R
,
ascending
:
Boolean
=
true
,
ignoreCase
:
Boolean
=
true
)
:
Boolean
Checks if the list is sorted according to the specified
selector
function.